﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace shop.daifa
{
    public partial class InputNumbersForm : Form
    {

        public IEnumerable<string> Result { set; get; } 

        public InputNumbersForm()
        {
            InitializeComponent();
        }

        private void btnOk_Click(object sender, EventArgs e)
        {
            var arr = this.textBox1.Text.Trim().Split('\r');
            
            this.Result= arr.Select(a=> a.Trim()).ToList();

            this.DialogResult = DialogResult.OK;
            this.Close();
        }



    }
}
